<?php
require "admin/ViewModel.php";
class Controller
{
	protected $view;
	protected $model;
	function __construct()
	{
		$this->view=new ViewModel($_GET['c'].'/'.$_GET['m']);
	}
	function display(){
		$this->view->display();
	}
	function assign($variable,$value){
		$this->view->assign($variable,$value);
	}
}
?>